import React from 'react';
import { useState } from 'react';
import { Button, Table, theme, Modal } from 'antd';
import MyForm from './MyForm';
export default function Model(props:any) {
    return (
        <div>
            <Modal title={props.title} open={props.isModalOpen} onCancel={props.onCancel}>
                <MyForm />
            </Modal>
        </div>
    );
}
